package org.zqy.domain;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 文章信息实体类
 * 
 * @author qyzhang4
 * 
 */
public class MyFile implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3101802806853606091L;

	/** id ,自动增长 */
	private BigInteger fid;
	/** 文件展示名称 */
	private String fshowname;
	/** 文件保存名称 */
	private String fsavename;
	/** 文件保存地址 */
	private String fsaveaddress;
	/** 文件大小 */
	private long fsize;
	/** 文件上传时间 */
	private long ftime;
	/** 文件类型 */
	private String ftype;
	/** 文件上传者帐号 */
	private String fuaccount;
	/** 保留字段 ,默认为空 */
	private String fother;

	public MyFile() {
	}

	public MyFile(String fshowname, String fsavename, String fsaveaddress,
			long fsize, long ftime, String ftype, String fuaccount) {
		this.fshowname = fshowname;
		this.fsavename = fsavename;
		this.fsaveaddress = fsaveaddress;
		this.fsize = fsize;
		this.ftime = ftime;
		this.ftype = ftype;
		this.fuaccount = fuaccount;
	}

	// get、set方法

	public BigInteger getFid() {
		return fid;
	}

	public void setFid(BigInteger fid) {
		this.fid = fid;
	}

	public String getFshowname() {
		return fshowname;
	}

	public void setFshowname(String fshowname) {
		this.fshowname = fshowname;
	}

	public String getFsavename() {
		return fsavename;
	}

	public void setFsavename(String fsavename) {
		this.fsavename = fsavename;
	}

	public String getFsaveaddress() {
		return fsaveaddress;
	}

	public void setFsaveaddress(String fsaveaddress) {
		this.fsaveaddress = fsaveaddress;
	}

	public long getFsize() {
		return fsize;
	}

	public void setFsize(long fsize) {
		this.fsize = fsize;
	}

	public long getFtime() {
		return ftime;
	}

	public void setFtime(long ftime) {
		this.ftime = ftime;
	}

	public String getFtype() {
		return ftype;
	}

	public void setFtype(String ftype) {
		this.ftype = ftype;
	}

	public String getFuaccount() {
		return fuaccount;
	}

	public void setFuaccount(String fuaccount) {
		this.fuaccount = fuaccount;
	}

	public String getFother() {
		return fother;
	}

	public void setFother(String fother) {
		this.fother = fother;
	}

	@Override
	public String toString() {
		return "上传者帐号:" + fuaccount + ";文件名:" + fshowname;
	}
}
